/* <!-- 商品型号 --> */
.nav-bar{
    width: 100%;
    height: 65px;
    /* position: fixed; */
    line-height: 65px;
    background-color: #fff;
    position: sticky;
	top: 0;
    border-top: 1px solid #ccc;
    z-index: 999;
}
.nav-bar h2{
    font-size: 18px;
    color: #424242;
    float: left;
    font-weight: 400;
}
.nav-bar ul{
    width: 350px;
    float: right;
}
.nav-bar ul li{
    font-size: 14px;
    float: left;
    
}
.nav-bar ul li a{
    color: #616161;
}
.nav-bar ul li span{
    margin: 0px 10px;
    color: #616161;
}

/* <!-- 商品详情 --> */
.mi{
    height: 3168px;
}
/* 放大镜 */
.mi .box{
    width: 402px;
    margin: 50px;
    position: relative;
    z-index: 1;
    float: left;
  }
  .mi .middleBox{
    width: 400px;
    height: 400px; 
    border: 1px solid black; 
    position: relative;
  }
  .mi .shade{
    width: 200px;
    height: 200px;
    background-color: yellow;
    opacity: 0.5;
    position: absolute;
    top: 0px;
    left: 0px;
    cursor: move;
    display: none;
  }
  /* .mi .smallBox{
    margin-top: 15px;
  }
  .mi .smallBox>img{      
    margin-left: 10px;
    border: 1px solid black;
  }
  .mi .smallBox>img.active{
    border-color: red;
  } */
  .mi .bigBox{
    width: 400px;
    height: 400px;
    border: 1px solid black;
    position: absolute;
    top:0;
    left: 110%;
    background-image: url('../img/big1.jpg'); 
    background-repeat: no-repeat;
    background-position: 0 0;
    background-size: 800px 800px;
    display: none;
  }

  .mi .smallBox{
    margin-top:20px;
    width: 400px;
    height: 52px;
}
.mi .smallBox .wraper{
    width: 320px;
    position:relative;
    height: 52px;
    overflow: hidden;
    margin-left:10px;
    left: 30px;
    float: left;
}
.mi .smallBox ul{
    position:absolute;
    left: 0;
    top: 0;
}
.mi .smallBox ul li.active{
    border-color:#f00;
}
.mi .smallBox ul li{
    float:left;
    margin-right:5px;
    width: 50px;
    height: 50px;
    border:1px solid transparent;
}
.mi .smallBox:hover>a{
    visibility: visible;
}
.mi .smallBox>a{
    width: 20px;
    height: 50px;
    background-color: rgba(0,0,0,.5);
    color:#fff;
    text-decoration: none;
    text-align: center;
    line-height:50px;
    font-weight: bold;
    visibility: hidden;
}
.mi .smallBox ul li img{
  width: 48px;
  height: 48px;
}
.mi .smallBox .fd{
  position: absolute;
}
.mi .smallBox .fr{
  /* position: absolute; */
  float: right;
}
  /* <!-- 放大镜右边 --> */
  .mi .boxright{
    width: 690px;
    height:600px;
    /* background-color: palegoldenrod; */
    float: right;
  }
  .mi .boxright h2{
    font-size: 24px;
    font-weight: 400;
    color: #212121;
  }
  .mi .boxright .p1{
    font-size: 14px;
    color: #b0b0b0;
    line-height: 1.5;
    padding-top: 8px;
  }
  .mi .boxright .p2{
    font-size: 14px;
    color: #ff6700;
    margin-top: 14px;
  }
  .mi .boxright h4{
    font-size: 18px;
    color: #ff6700;
    padding: 12px 0px 10px;
    border-bottom: 1px solid #ccc;
  }
  /* <!-- 配送信息 --> */
  .mi .boxright .delivery{
    /* height: 104px; */
    border: 1px solid #ccc;
    margin: 20px 0px;
    padding: 30px 50px;
    background: #fafafa;
  }
  .mi .boxright .p3{
    height: 104px;
    border: 1px solid #ccc;
    margin-top: 25px;
    background: #fafafa;
    line-height: 104px;
  }
  /* <!-- 加入购物车 --> */
  .mi .boxright .addCart{
    margin:20px 0px;
   }
   .mi .boxright .addCart .number{
    position: relative;
    width: 64px;
    height: 40px;
    display: inline-block;
   }
   .mi .boxright .addCart input[name="num"] {
     width: 60px;
     height: 36px;
     outline:none;
     z-index: 9;
   }
   .mi .boxright .addCart .number button{
    position: absolute;
    right:1px;
    width: 20px;
    height: 19px;
    text-align: center;
    line-height: 20px;
    outline:none;
    border:none;
    font-size:12px;
    background-color: #eee;
}
.mi .boxright .addCart .number button.add{
    top:1px;
}
.mi .boxright .addCart .number button.reduce{
    bottom:1px;
    border-top:1px solid #ccc;
}
.mi .boxright .addCart .addBtn{
  margin-left: 30px;
    height: 40px;
    width: 120px;
    outline: none;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    line-height: 30px;
    background-color: red;
}
.mi .boxright .addCart .toCart{
  height: 40px;
  width: 120px;
  line-height: 40px;
  text-align: center;
  background-color: blue;
  margin-right: 316px;
    display: block;
    float: right;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
}
.mi .boxright .info span{
  margin-right: 10px;
  color: #b0b0b0;
}